package com.ruoyi.dynamic.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.pojo.result.Pages;
import com.ruoyi.dynamic.model.pojo.entity.RoomPost;
import com.ruoyi.dynamic.model.pojo.entity.RoomUserPost;
import com.ruoyi.dynamic.model.pojo.request.app.AppRoomBanByUserRequest;
import com.ruoyi.dynamic.model.pojo.request.app.AppRoomUserPostSearchRequest;
import com.ruoyi.dynamic.model.pojo.result.app.AppRoomUserPostInfoResult;
import com.ruoyi.dynamic.model.pojo.result.app.AppRoomUserPostResult;

import java.util.List;

/**
 * <p>
 * 房间马甲设置 服务类
 * </p>
 *
 * @author Gnc
 * @since 2025-01-14
 */
public interface IRoomUserPostService extends IService<RoomUserPost> {


    RoomUserPost verify(Long id);


    /**
     * 房间搜索管理员
     */
    Pages<AppRoomUserPostInfoResult> listPage(AppRoomUserPostSearchRequest request, Long userId);


    /**
     * 马甲详情
     */
    AppRoomUserPostInfoResult info(Long id);

    /**
     * 查看他人资料
     */
    AppRoomUserPostResult lookUser(AppRoomBanByUserRequest request, Long userId);

    /**
     * 职位列表
     */
    List<RoomPost> listByUser(Long roomId, Long userId);

}
